package com.cowin.sys.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "TM_SYS_USER")
public class TmSysUser {
    @Id
    @Column(name = "TM_SYS_USER_ID")
    private Long tmSysUserId;

    @Column(name = "USERNAME")
    private String username;

    @Column(name = "PASSWORD")
    private String password;

    @Column(name = "DESCRIPTION")
    private String description;

    @Column(name = "REAL_NAME")
    private String realName;

    @Column(name = "ENGINEER_CODE")
    private String engineerCode;

    @Column(name = "TELEPHONE")
    private String telephone;

    @Column(name = "EMAIL")
    private String email;

    @Column(name = "OFFICE_LOCATION")
    private String officeLocation;

    @Column(name = "USER_FAX")
    private String userFax;

    @Column(name = "WO_NOTICE_INDICATOR")
    private Short woNoticeIndicator;

    @Column(name = "TM_BAS_DEPT_ID")
    private Long tmBasDeptId;

    @Column(name = "CHARGE_USER_ID")
    private Long chargeUserId;

    @Column(name = "SAP_USERNAME")
    private String sapUsername;

    @Column(name = "USER_STATUS")
    private String userStatus;

    @Column(name = "IS_MANUAL_OPERATOR")
    private String isManualOperator;

    @Column(name = "AUTH_TYPE")
    private String authType;

    @Column(name = "LAST_UPDATE_TIME")
    private Date lastUpdateTime;

    @Column(name = "LAST_UPDATE_USERNAME")
    private String lastUpdateUsername;

    @Column(name = "PID")
    private Integer pid;

    @Column(name = "PID_IS_CLOSED")
    private Short pidIsClosed;

    @Column(name = "ESCHEDULE_CHECK")
    private String escheduleCheck;

    @Column(name = "ESCHEDULE_TIME")
    private Date escheduleTime;

    @Column(name = "LAST_LOGIN_TIME")
    private Date lastLoginTime;

    @Column(name = "CLIENT_VERSION")
    private String clientVersion;

    @Column(name = "LOGIN_STATUS")
    private String loginStatus;


}